<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>千峰物流-添加运单</title>

    <link rel="stylesheet" th:href="@{../../static/styles/bootstrap.min.css }"
          href="../../static/styles/bootstrap.min.css">
    <link rel="stylesheet" th:href="@{../../static/styles/main.min.css }" href="../../static/styles/main.min.css">
    <link rel="stylesheet" th:href="@{../../static/styles/center.css }" href="../../static/styles/center.css">
</head>
<body>
<!--修改运单page页面-->
<div class="page-this-updatewaybill">
    <div class="row">
        <form action="/updateWaybill" class="layui-form" lay-filter="update-waybill-form">
            <!--托运单号-->
            <div class="row line m-center-10 p-center-10">
                <div class="row mLeft10">
                    <h2 class="head-title">新增运单&nbsp;<i class="layui-icon" style="font-size: 30px;">&#xe63c;</i></h2>
                    <hr class="cutLine width_25PCT mTop5"/>
                </div>

                <div class="col-md-2">
                    <span>托运单号</span>
                    <input type="text" lay-verify="required" readonly name="waybillConsignNum" required class="layui-input input-border input-m">
                </div>
                <div class="col-md-2">
                    <span>出发站</span>
                    <select name="waybillStartingSubst" lay-verify="required">
                        <option value=""></option>
                    </select>
                </div>
                <div class="col-md-2">
                    <span>到达城市</span>
                    <input type="text" lay-verify="required" name="waybillReachCity" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>到达站</span>
                    <select name="waybillReachSubst" lay-verify="required">
                        <option value=""></option>
                    </select>
                </div>
                <div class="col-md-2">
                    <span>托运日期</span>
                    <input type="text" lay-verify="date" name="waybillConsignDate" class="layui-input input-border input-m" id="shipping-date">
                </div>
            </div>

            <!--收发信息-->
            <div class="row line m-center-10 p-center-10">
                <div class="row mLeft5">
                    <h3 class="head-title"><span class="label pool-blue">收发信息</span></h3>
                    <div class="row width_10PCT m-tb10"></div>
                </div>

                <!--发货方信息-->
                <div class="row m-tb10">
                    <div class="col-md-1 mLeft30"><label>发货方：</label></div>
                    <div class="col-md-7 shipper-selectWrap">
                        <select name="waybillShipperId" lay-verify="" lay-search >
                            <option value="">输入发货单位名称、发货人姓名、电话、发货号码地址、搜索发货方</option>
                        </select>
                    </div>
                    <div class="col-md-2">
                        <button type="button" class="layui-btn layui-btn-normal layui-btn-sm btn btn-info btn-r">新增发货方</button>
                    </div>
                </div>
                <!--收货方信息-->
                <div class="row m-tb10">
                    <div class="col-md-1 mLeft30"><label>收货方：</label></div>
                    <div class="col-md-7 consi-selectWrap">
                        <select name="waybillConsiId" lay-verify="" lay-search >
                            <option value="">输入收货单位名称、发货人姓名、电话号码、收货地址、搜索收货方</option>
                        </select>
                    </div>
                    <div class="col-md-2">
                        <button type="button" class="layui-btn layui-btn-normal layui-btn-sm btn btn-info btn-r">新增收货方</button>
                    </div>
                </div>
            </div>

            <!--运单信息-->
            <div class="row line m-center-10 p-center-10">
                <div class="row mLeft5">
                    <h3 class="head-title"><span class="label pool-blue">基本信息</span></h3>
                    <div class="row width_10PCT m-tb10"></div>
                </div>

                <div class="col-md-2">
                    <span>送货方式</span>
                    <select name="waybillShippingMethod" lay-verify="required">
                        <option value="送货">送货</option>
                        <option value="自提">自提</option>
                        <option value="等通知提">等通知提</option>
                        <option value="等通知送">等通知送</option>
                    </select>
                </div>
                <div class="col-md-2">
                    <span>运输类型</span>
                    <select name="waybillTransType" lay-verify="required">
                        <option value="普通运输">普通运输</option>
                        <option value="加急卡班">加急卡班</option>
                        <option value="整车运输">整车运输</option>
                        <option value="危险品运输">危险品运输</option>
                        <option value="航空运输">航空运输</option>
                        <option value="铁路运输">铁路运输</option>
                        <option value="冷链运输">冷链运输</option>
                    </select>
                </div>
                <div class="col-md-2">
                    <span>承诺日期</span>
                    <input type="text" name="waybillPromiseDate" class="layui-input input-border input-m" id="promise-date">
                </div>
                <div class="col-md-2">
                    <span>订单编号</span>
                    <input type="text" name="waybillOrderNum" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-3">
                    <span style="height: 22px;">签收短信</span>
                    <input type="checkbox" name="waybillSignForMess" class="input-m"
                           lay-skin="switch" lay-text="开启|关闭">
                </div>
            </div>




            <div class="row m-lr10 p-center-10">
                <!--详细信息-->
                <div class="row mLeft5">
                    <h3 class="head-title"><span class="label pool-blue">详细信息</span></h3>
                    <div class="row width_10PCT m-tb10"></div>
                </div>
                <div class="col-md-2">
                    <span>货物名称</span>
                    <input type="text" lay-verify="required" name="waybillCargoName" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>包装</span>
                    <select name="waybillPackingWay" lay-verify="required">
                        <option value="">请选择</option>
                        <option value="纸箱">纸箱</option>
                        <option value="木箱">木箱</option>
                        <option value="托盘">托盘</option>
                        <option value="桶装">桶装</option>
                        <option value="裸装">裸装</option>
                        <option value="袋装">袋装</option>
                        <option value="混装">混装</option>
                        <option value="缠绕膜">缠绕膜</option>
                        <option value="其他">其他</option>
                    </select>
                </div>
                <div class="col-md-2">
                    <span>数量</span>
                    <input type="text" lay-verify="number|required"  name="waybillCargoCount" class="layui-input input-border input-m ">
                    <img>
                </div>
                <div class="col-md-2">
                    <span>重量</span>
                    <input type="text" lay-verify="double|required" name="waybillCargoWeight" class="layui-input input-border input-m ">
                    <img>
                </div>
                <div class="col-md-2">
                    <span>体积</span>
                    <input type="text" lay-verify="double|required" name="waybillCargoVolume" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>单价</span>
                    <input type="text" lay-verify="money|required" name="waybillCargoPrice" class="layui-input input-border input-m ">
                </div>
            </div>

            <div class="row m-lr10 p-center-10">
                <div class="col-md-2">
                    <span>计费方式</span>
                    <select name="waybillChargeMode" lay-filter="waybillChargeMode" lay-verify="required">
                        <option value="">请选择</option>
                        <option value="重量">重量</option>
                        <option value="体积">体积</option>
                        <option value="件数">件数</option>
                        <option value="最低收费">最低收费</option>
                    </select>
                </div>
                <div class="col-md-2">
                    <span>基本运费</span>
                    <input type="text" lay-verify="money|required" name="waybillBasicFreight" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>提货费</span>
                    <input type="text" lay-verify="money|required" name="waybillPickupFee" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>送货费</span>
                    <input type="text" lay-verify="money|required" name="waybillDeliveryFee" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>货物价值</span>
                    <input type="text" lay-verify="money|required" name="waybillCargoValue" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>保费</span>
                    <input type="text" lay-verify="money|required" name="waybillInsuranceFee" class="layui-input input-border input-m ">
                </div>


            </div>

            <div class="row m-lr10 p-center-10">
                <div class="col-md-2">
                    <span>卸货费</span>
                    <input type="text" lay-verify="money|required" name="waybillUploadFee" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>应收总额</span>
                    <input type="text" lay-verify="money|required" name="waybillIncomeTotal" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>付款方式</span>
                    <select name="waybillPaymentMethod" lay-filter="waybillPaymentMethod" lay-verify="required">
                        <option value="">请选择</option>
                        <option value="现金">现金</option>
                        <option value="微信">微信</option>
                        <option value="支付宝">支付宝</option>
                        <option value="刷卡">刷卡</option>
                        <option value="临欠">临欠</option>
                        <option value="回付">回付月结</option>
                        <option value="到付">到付</option>
                    </select>
                </div>
                <div class="col-md-2">
                    <span>现收</span>
                    <input type="text" lay-verify="money" name="waybillNowIncome" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>回付月结</span>
                    <input type="text" lay-verify="money" name="waybillBackpayMonth" class="layui-input input-border input-m ">
                </div>
                <div class="col-md-2">
                    <span>到付</span>
                    <input type="text" lay-verify="money" name="waybillReachPay" class="layui-input input-border input-m ">
                </div>
            </div>

            <div class="row line m-center-10 p-center-10">
                <div class="col-md-2">
                    <span>返利代收</span>
                    <input type="text" lay-verify="money" name="waybillRebateCollection" class="layui-input input-border input-m">
                </div>
                <div class="col-md-2">
                    <span>回单</span>
                    <input type="text" name="waybillReceipt" class="layui-input input-border input-m">
                </div>
            </div>


            <!--备注-->
            <div class="row line m-center-10 p-center-10">
                <div class="col-md-6">
                    <span>备注</span>
                    <textarea name="waybillRemark" class="layui-textarea"></textarea>
                </div>

                <div class="col-md-2">
                    <div>
                        <span>业务员</span>
                        <input type="text" lay-verify="required" name="waybillPromoter" class="layui-input input-border input-m">
                    </div>
                    <div>
                        <span>提货司机</span>
                        <select name="waybillPickupDriver" lay-filter="waybillPickupDriver" lay-verify="required">
                            <option value="">请选择</option>
                        </select>
                    </div>
                </div>

                <div class="col-md-2">
                    <div>
                        <span>其它内容</span>
                        <input type="text" name="waybillOther" class="layui-input input-border input-m">
                    </div>
                    <div>
                        <span>提货开支</span>
                        <input type="text" lay-verify="money|required" name="waybillPickupSpend" class="layui-input input-border input-m">
                    </div>
                </div>

                <div class="col-md-2">
                    <div>
                        <span>开单员</span>
                        <input type="text" name="billingPersonName" disabled="disabled" class="layui-input input-border input-m">
                        <input type="hidden" lay-verify="required" name="waybillBillingPerson" readonly="readonly" >
                    </div>
                </div>
            </div>


            <div class="row m-center-10">
                <div class="col-md-2">
                    <div class="layui-form-item">
                        <div class="layui-input-inline">
                            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveUpdateWaybill">保存修改</button>
                        </div>
                    </div>
                </div>
                <div class="col-md-2">
                    <button type="reset" class="layui-btn layui-btn-warm">重置页面</button>
                </div>
            </div>
            <div class="row mTop30"></div>

        </form>



    </div>
</div>


</body>
</html>